PGetTypeOptions

Gets the settings in the Type Options dialog box for the selected text.


Query results

short nSmallCapSize;
Size of small caps, as percentage of point size in tenths of a percent (100.0% = 1000), although command uses only whole percentages.

-2
for multiple settings in selection
short nSuperSubSize;
Size of superscripts and subscripts, as percentage of point size in tenths of a percent (100.0% = 1000), although command uses only whole percentages.

-2 for multiple settings in selection

short nSuperPos;
Position of superscripts, as percentage of point size in tenths of a percent (100.0% = 1000), although command uses only whole percentages.

-2 for multiple settings in selection

short nSubPos;
Position of subscripts, as percentage of point size in tenths of a percent (100.0% = 1000), although command uses only whole percentages.

-2
for multiple settings in selection.
short dBaseline;
Baseline shift, in tenths of a point in tenths of a point (250.0 = 2500)
PMBool bDirection
false for up
true for down
Defining and editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the settings for the style, not the selected text.

Multiple settings. If multiple characters are selected and they have different settings, PageMaker returns -2 for parameters with conflicting settings.

No insertion point. If the text does not contain the insertion point, PageMaker gets the default type options.

No text selected. If the text contains the insertion point but no text is selected, PageMaker returns the type options of the character preceding the insertion point. If the insertion point is before the first character of the story, PageMaker returns the type options of the first character.


See also

The PGetTypePosition query

The PTypeOptions command



Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support